ImageGear .NET v25.2 - Updated
ImageGear.Windows.Controls Assembly / ImageGear.Core Namespace / ImGearReadOnlyDictionary<TKey,TValue> Class / Contains Method
The KeyValuePair to locate in the dictionary.




In This Topic
    Contains Method (ImGearReadOnlyDictionary<TKey,TValue>)
    In This Topic
    Determines whether the dictionary contains the specified key/value pair.
    Syntax
    'Declaration
     
    Public Function Contains( _
       ByVal item As KeyValuePair(Of TKey,TValue) _
    ) As Boolean
    'Usage
     
    Dim instance As ImGearReadOnlyDictionary(Of TKey,TValue)
    Dim item As KeyValuePair(Of TKey,TValue)
    Dim value As Boolean
     
    value = instance.Contains(item)
    public bool Contains( 
       KeyValuePair<TKey,TValue> item
    )
    public: bool Contains( 
       KeyValuePair<TKey*,TValue*> item
    ) 
    public:
    bool Contains( 
       KeyValuePair<TKey^,TValue^> item
    ) 

    Parameters

    item
    The KeyValuePair to locate in the dictionary.

    Return Value

    Returns true if the dictionary contains the specified KeyValuePair; otherwise, false.
    See Also